<template>
	<view class="health_detail">
		
	</view>
</template>

<script>
	import { newsDetail } from '@/service/api.js'
	export default {
		data() {
			return {
				id: "",
				detail: {}
			}
		},
		onLoad(options) {
			this.id = options.id;
			this.getNewsDetail();
		},
		methods: {
			async getNewsDetail() {
				const newsDetailList = await newsDetail(this.id);
				this.detail = newsDetailList.data;
				console.log(this.detail)
			}
		}
	}
</script>

<style>

</style>
